<?php
session_start();
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/class.admin.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/database.php');
require($_SERVER['DOCUMENT_ROOT'].'/resources/lib/functions.php');
$admin= new admin();
$admin->canView($_SERVER['PHP_SELF']);
$id=$_GET['id'];
$content=$admin->pageId($id)->addContent();
$_cid=(string)$content['_id'];
//print_r($content);
?>
<script>
$.fn.loader("page_content_list",{post : {id:'<?php echo($id); ?>'}})
</script>